export default function transformDesc(params, validDes) {
	// shallow copy descriptor to avoid mutation
	const copyObj = JSON.parse(JSON.stringify(validDes || {}))
	return { desc: copyObj, data: params }
}
